<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        input{
            display: none;
        }
        label{
            padding-left: 20px;
            background: url("images/off.png") no-repeat;
        }
        .search>input:checked+label{
            background: url("images/on.png") no-repeat;
        }
    </style>
</head>
<body>
    <div class="search">
        <input type="checkbox" id="c">
        <label for="c">请选择</label>
    </div>
</body>
</html>